package com.ihr360.payroll.service.salaryfield.impl;

import com.ihr360.authority.sharing.annonation.AccessControl;
import com.ihr360.payroll.dao.SalaryFieldCategoryRepository;
import com.ihr360.payroll.model.dto.salary.basecode.SalaryFieldCategory;
import com.ihr360.payroll.service.salaryfield.SalaryFieldCategoryService;
import com.ihr360.rest.reposity.SimpleRestReposity;
import com.ihr360.rest.service.AbstractSimpleRestServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@AccessControl(disableAll = true)
public class SalaryFieldCategoryServiceImpl extends AbstractSimpleRestServiceImpl<SalaryFieldCategory,Long> implements SalaryFieldCategoryService {

    @Autowired
    private SalaryFieldCategoryRepository salaryFieldCategoryRepository;

    @Override
    public SimpleRestReposity<SalaryFieldCategory, Long> getSimpleRestReposity() {
        return salaryFieldCategoryRepository;
    }


}
